function StaticInputStream(staticData) {
	
	var data = staticData, HTTP_NEWLINE = TITTValues.HTTP_NEWLINE;
	
	this.read = function(len) {

		if(data == "") return null;
		
		var ret = data.substring(0, len);
		data = data.substring(len, data.length);
		
		return ret;
	}
	
	this.readLine = function() {
		
		if(data == "") return null;
		
		var i = data.indexOf(HTTP_NEWLINE);
		if(i == -1) return this.read(data.length);
		
		var l = this.read(i);
		
		this.read(HTTP_NEWLINE.length);

		return l;
	}
	
	this.readFully = function() {
		return this.read(data.length);
	}
	
}